Iterator 🕒 Created: 2024-04-13 | Updated: 2026-01-23 It is a trait that requires implementing a single method: next . pub trait Iterator { type Item; fn next(&mut self) -> Option<Self::Item>; }